package com.xinruke.hostels.manage.user.mapper;

import com.xinruke.hostels.common.po.XtJuesecaidanGuanxi;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

public interface XtJuesecaidanGuanxiMapper extends Mapper<XtJuesecaidanGuanxi>, InsertListMapper<XtJuesecaidanGuanxi> {
    @Update("update xt_juesecaidan_guanxi s set s.`shanchubiaoshi` = 1 where  s.juese_id = #{jueseId}")
    Integer deleteByRoleId(@Param("jueseId")Integer jueseId);
}